package com.example.designpatterns.behavioral.strategy.core;

import com.example.designpatterns.behavioral.strategy.commons.Payment;

/**
 * 支付宝支付
 *
 * @author scott
 */
public class AliPay extends AbstractPayment {

    @Override
    public String getName() {
        return Payment.ALI_PAY.getValue();
    }

    @Override
    protected double queryBalance(String uid) {
        return 1000;
    }

}
